package com.zjc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 周佳成
 * @since 2023-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HolidayTable implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 假期出入登记编号
     */
    @TableId(value = "holi_id", type = IdType.AUTO)
    private Integer holiId;

    /**
     * 登记学生学号
     */
    private Integer stuId;

    /**
     * 登记学生姓名
     */
    private String stuName;

    /**
     * 出校时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh", timezone = "GMT+8")
    private Date holiOutDate;

    /**
     * 入校时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh", timezone = "GMT+8")
    private Date holiEnterDate;


}
